projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe8089a
)
(display_mode_element): Be sure to make variables THIS
author
Kenichi Handa
<handa@m17n.org>
Mon, 12 Sep 2005 11:51:55 +0000
(11:51 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 12 Sep 2005 11:51:55 +0000
(11:51 +0000)
and LISP_STRING point into a string data of ELT.
src/ChangeLog
patch
|
blob
|
history
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 633d594ed77ee3395615cecc33659dc1fb8ff094..061e1d87701b59454b5c745c9bb19ca29a294e42 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+2005-09-12 Kenichi Handa <handa@m17n.org>
+
+ * xdisp.c (display_mode_element): Be sure to make variables THIS
+ and LISP_STRING point into a string data of ELT.
+
2005-09-12 Kim F. Storm <storm@cua.dk>
* editfns.c (Ftranslate_region_internal): Reload `tt' after
diff --git
a/src/xdisp.c
b/src/xdisp.c
index f06121a475cf6123fc4af411601e84e5af2b3b69..a07e50aba89c6069c62d128d3f4837033e1a73a0 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-16171,6
+16171,8
@@
display_mode_element (it, depth, field_width, precision, elt, props, risky)
else /* c == 0 */
break;
}
+ this += SDATA (elt) - lisp_string;
+ lisp_string = SDATA (elt);
}
}
break;